package org.zachary.commonservice.service.feign;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.zachary.commonmodule.entity.entity.KafkaDTO;


@FeignClient(name = "credit-manage", path = "/creditManage")
public interface NotifyCreditScoreManager {

    @PostMapping("/kafka/credit")
    void updateScore(@RequestBody KafkaDTO kafkaDTO);
}
